import request from '@/utils/request'

// 查询订单操作日志列表
export function listSysSalesOrderLogs(query) {
  return request({
    url: '/SysSalesOrderLogs/SysSalesOrderLogs/list',
    method: 'get',
    params: query
  })
}

// 查询订单操作日志详细
export function getSysSalesOrderLogs(logId) {
  return request({
    url: '/SysSalesOrderLogs/SysSalesOrderLogs/' + logId,
    method: 'get'
  })
}

// 新增订单操作日志
export function addSysSalesOrderLogs(data) {
  return request({
    url: '/SysSalesOrderLogs/SysSalesOrderLogs',
    method: 'post',
    data: data
  })
}

// 修改订单操作日志
export function updateSysSalesOrderLogs(data) {
  return request({
    url: '/SysSalesOrderLogs/SysSalesOrderLogs',
    method: 'put',
    data: data
  })
}

// 删除订单操作日志
export function delSysSalesOrderLogs(logId) {
  return request({
    url: '/SysSalesOrderLogs/SysSalesOrderLogs/' + logId,
    method: 'delete'
  })
}
